package com.easybuy.pojo;

import java.util.Date;
import java.util.List;

public class UserAddress {
    //地址ID
    private Integer id;
    //用户ID
    private Integer userId;
    //用户名
    private String userName;
    //电话
    private String mobile;
    //是否默认地址
    private Integer isDefault;
    //备注
    private String remark;
    //地址
    private String  address;
    //创建时间
    private Date createTime;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }



    private List<UserAddress> list;

    public List<UserAddress> getList() {
        return list;
    }

    public void setList(List<UserAddress> list) {
        this.list = list;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }
}
